package com.wmx.newspushmonitor.http.request;

import com.rhino.ui.utils.okhttp.HttpParams;
import com.rhino.ui.utils.okhttp.ParamField;


/**
 * @author rhino
 * @since Create on 2018/8/20.
 */
public class LoginParams implements HttpParams {

    @ParamField("id")
    public String account;

    @ParamField("pwd")
    public String pwd;

    public static LoginParams normal(String account, String pwd) {
        LoginParams params = new LoginParams();
        params.account = account;
        params.pwd = pwd;
        return params;
    }

    public LoginParams() {
    }

    @Override
    public String toString() {
        return "LoginParams{" +
                "account='" + account + '\'' +
                ", pwd='" + pwd + '\'' +
                '}';
    }
}
